package com.ymatou.apigateway.parameter.resp;

public class DeliveryInfo {

	/**
	 * 平台物流公司标识
	 */
	private String logistics_company_code;

	/**
	 * 物流面单号
	 */
	private String tracking_number;

	/**
	 * 发货时间
	 */
	private String delivery_time;

	/**
	 * 物流类型 1:国际段 2:国内段
	 */
	private int logistics_type;

	public DeliveryInfo() {
	}

	public DeliveryInfo(String ymtCode, String billCode, String time,
			boolean chinaDeliver) {
		logistics_company_code = ymtCode;
		tracking_number = billCode;
		delivery_time = time;
		logistics_type = chinaDeliver ? 2 : 1;
	}

	public String getLogistics_company_code() {
		return logistics_company_code;
	}

	public void setLogistics_company_code(String logistics_company_code) {
		this.logistics_company_code = logistics_company_code;
	}

	public String getTracking_number() {
		return tracking_number;
	}

	public void setTracking_number(String tracking_number) {
		this.tracking_number = tracking_number;
	}

	public String getDelivery_time() {
		return delivery_time;
	}

	public void setDelivery_time(String delivery_time) {
		this.delivery_time = delivery_time;
	}

	public int getLogistics_type() {
		return logistics_type;
	}

	public void setLogistics_type(int logistics_type) {
		this.logistics_type = logistics_type;
	}

}
